package cn.butcher.pojo;

/**
 * 学院实体类
 */
public class College {

    /**
     * 学院编号
     */
    private int coId;

    /**
     * 学院名称
     */
    private String coName;

    public College() {
    }

    public College(int coId, String coName) {
        this.coId = coId;
        this.coName = coName;
    }

    public int getCoId() {
        return coId;
    }

    public void setCoId(int coId) {
        this.coId = coId;
    }

    public String getCoName() {
        return coName;
    }

    public void setCoName(String coName) {
        this.coName = coName;
    }

    @Override
    public String toString() {
        return "College{" +
                "coId=" + coId +
                ", coName='" + coName + '\'' +
                '}';
    }
}
